* {
  margin: 0;
}

p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

button:active {
  outline: 2px solid #8ec4fb;
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.text-base {
  font-size: 14px;
}

.text-sm {
  font-size: 12px;
}

.text-lg {
  font-size: 16px;
}

.text-center {
  text-align: center;
}

.font-bold {
  font-weight: bold;
}

.py-1 {
  padding-top: 4px;
  padding-bottom: 4px;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.danmaku-wall {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.danmaku-wall .screen {
  position: relative;
  margin: 20px auto 0px;
  width: 90vw;
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.danmaku-wall .screen .danmaku {
  cursor: pointer;
  white-space: nowrap;
  position: absolute;
}

.danmaku-wall .control-panel {
  padding: 16px 0 20px;
}

.danmaku-wall .control-panel input[type=text] {
  width: 366px;
  height: 20px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid #b3b3b3;
  margin-bottom: 14px;
}

.danmaku-wall .control-panel button {
  cursor: pointer;
  border-radius: 2px;
  width: 132px;
  border: 1px solid #acacac;
  padding: 6px 0;
  font-size: 12px;
  color: #666;
  background-color: #fff;
}

.danmaku-wall .control-panel button.primary {
  border-color: #de826f;
  color: #de826f;
}


.danmaku-wall .timer-shaft {
  margin: 20px auto 0px;
  width: 90vw;
  height: 10px;
  border-bottom: 2px solid #666;
  position: relative;
}

.danmaku-wall .timer-shaft .timer-shaft-tick {
  position: absolute;
  top:50%;
  height: 10px;
  width: 2px;
  overflow: hidden;
  background: #de826f;
}